package com.fram.bean.admin.circle.request;

import org.apache.commons.lang3.StringUtils;

import lombok.Data;

@Data
public class ResourceCircleRequest {
	/****/
	private String nickName;

	private String content;
	/****/
	private String provinceCode;
	/****/
	private String cityCode;
	/****/
	private String areaCode;
	/****/
	private Integer emptyDelete;

	private String createStartTime;

	private String createEndTime;

	private Integer view;

	public String getCreateStartTime() {
		if (!StringUtils.isEmpty(createStartTime) && !createStartTime.contains("00:00:00")) {
			createStartTime = createStartTime + " 00:00:00";
		}
		return createStartTime;
	}

	public String getCreateEndTime() {
		if (!StringUtils.isEmpty(createEndTime) && !createEndTime.contains("23:59:59")) {
			createEndTime = createEndTime + " 23:59:59";
		}
		return createEndTime;
	}

}
